package com.neuedu.yyzx.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.neuedu.yyzx.po.Customerpreference;
import com.neuedu.yyzx.service.CustomerpreferenceService;
import com.neuedu.yyzx.mapper.CustomerpreferenceMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 31462
 * @description 针对表【customerpreference】的数据库操作Service实现
 * @createDate 2025-04-10 13:39:20
 */
@Service
public class CustomerpreferenceServiceImpl extends ServiceImpl<CustomerpreferenceMapper, Customerpreference>
        implements CustomerpreferenceService{
    @Override
    public IPage<Customerpreference> selectWithCustomer(Page<Customerpreference> page, Customerpreference customerpreference) {
        return getBaseMapper().selectWithCustomer(page,customerpreference);
    }
    @Override
    public IPage<Customerpreference> selectCustomersWithoutPreference(Page<Customerpreference> page, Customerpreference customerpreference) {
        return getBaseMapper().selectCustomersWithoutPreference(page,customerpreference);
    }

    @Override
    public List<Customerpreference> getCustomersWithoutPreference() {
        return getBaseMapper().getCustomersWithoutPreference();
    }
}




